﻿using System;

namespace BarCodeScannerControl.Events
{
    public class ReadScannerCompleted : EventArgs
    {
        public Exception Error { get; set; }

        public string Result { get; set; }

        public ReadScannerCompleted(string result, Exception error = null)
        {
            this.Error = error;
            this.Result = result;
        }
    }
}